package com.music.dto.system;

import java.util.List;

public class PermissionTreeDTO {

    private String title;
    private PermissionTreeDTO key;
    private PermissionTreeDTO value;
    private Boolean disabled;
    private Integer isLeaf;
    private List<PermissionTreeDTO> children;

    public PermissionTreeDTO() {
    }

    public PermissionTreeDTO(String title, PermissionTreeDTO key, PermissionTreeDTO value, Boolean disabled, Integer isLeaf, List<PermissionTreeDTO> children) {
        this.title = title;
        this.key = key;
        this.value = value;
        this.disabled = disabled;
        this.isLeaf = isLeaf;
        this.children = children;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public PermissionTreeDTO getKey() {
        return key;
    }

    public void setKey(PermissionTreeDTO key) {
        this.key = key;
    }

    public PermissionTreeDTO getValue() {
        return value;
    }

    public void setValue(PermissionTreeDTO value) {
        this.value = value;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    public Integer getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(Integer isLeaf) {
        this.isLeaf = isLeaf;
    }

    public List<PermissionTreeDTO> getChildren() {
        return children;
    }

    public void setChildren(List<PermissionTreeDTO> children) {
        this.children = children;
    }
}
